class CreateSlideshowImages < ActiveRecord::Migration
  def self.up
    create_table :slideshow_images do |t|
      t.column :image_url, :string
      t.column :position, :integer
      t.column :duration, :time
      t.column :slideshow_id, :integer
    end
  end

  def self.down
    drop_table :slideshow_images
  end
end
